package org.micro.frame.oss;

import com.qiniu.storage.UploadManager;
import com.qiniu.util.Auth;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class QiNiuOSSController {

    @Autowired
    private Auth auth;
    @Autowired
    private UploadManager uploadManager;

    @RequestMapping("/test")
    public Object test() throws Exception {
        System.out.println("auth: " + auth);
        System.out.println("uploadManager: " + uploadManager);
        return null;
    }

}